{{each gifts as group}}
<div class="weui-tab__panel">
	<h3 class="weui-panel__hd">{{group.title}}</h3>
	<div class="weui-panel__bd">
		{{each group.items as gift}}
			<a href="#/giftcontent/{{gift.id}}/{{gift.ad_doc_id}}" class="weui-media-box weui-media-box_appmsg">
	            <div class="weui-media-box__hd">
	                <img class="weui-media-box__thumb" src="{{gift.face_path}}?x-oss-process=style/w120h120" alt="">
	            </div>
	            <div class="weui-media-box__bd">
	                <h4 class="weui-media-box__title">{{gift.title}}</h4>
	                <div class="weui-media-box__desc">{{#gift.excerpt}}</div>
	            </div>
	            <div class="weui-media-box__hd2">
	            	<p>合作方式</p>
	            	<p class="red">{{gift.ad_types}}</p>
	            	<p>媒体类型</p>
	            	<p class="red">{{gift.med_types}}</p>
	            </div>
	        </a>
		{{/each}}
	</div>
</div>
{{/each}}
